package cn.itsource.system.mapper;


import cn.itsource.system.domain.Menu;
import cn.itsource.system.query.MenuQuery;

import java.util.List;

/**
* @author DELL
* @description 针对表【tb_menu】的数据库操作Mapper
* @createDate 2024-06-13 15:50:02
* @Entity cn.itsource.article.domain.Menu
*/
public interface MenuMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Menu record);

    int insertSelective(Menu record);

    Menu selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);

    List<Menu> selectAllByQuery(MenuQuery menuQuery);

    void deleteByConllection(List<Menu> menus);
   //查询所有菜单
    List<Menu> getAll();


    List<Menu> selectByLoginId(Long id);


    List<Menu> selectAll();

}
